#include <iostream>
using namespace std;

void func(int a, int b = 0, int c = 10)
{
    cout << "a = " << a << "b = " << b << "c=" << c << endl;
}

int main()
{
    func(1, 2);

    func(5, 8, 3);

    func(3);

    return 0;
}